<template>
  <div>
    <el-row>
      <el-col :span="2" v-for="item in tableData" :key="item.id">
        <el-link :href="item.value" target="_blank">
          <el-image
            style="width: 100px; height: 100px"
            :src="rootUrl.ossUrl+item.extend">
          </el-image>
        </el-link>
        <span class="demonstration">{{ item.name }}</span>
      </el-col>
    </el-row>
  </div>
</template>
<script>

import rootUrl from '../../../config/rootUrl'
import store from "../../../store";

export default {
  computed: {
    rootUrl() {
      return rootUrl
    }
  },
  data() {
    return {
      tableData: store.listDictionary('sys_root_url')
    }
  }
}
</script>
